package com.wen.open.springframework.beans.factory;

import com.wen.open.springframework.beans.BeansException;

import java.util.Map;

/**
 * 扩展BeanFactory的接口
 * @author Wen
 * @date 2023/4/24 08:47
 */
public interface ListableBeanFactory extends BeanFactory{

    String[] getBeanDefinitionNames();

    /**
     * 用来提前加载内部类
     */
    <T> Map<String, T> getBeansOfType(Class<T> var1) throws BeansException;
}
